<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>SPPlaylistDelegate Protocol Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<meta name="viewport" content="width=550" />
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.1 (build 840)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">CocoaLibSpotify </a></h1>
				<a id="developerHome" href="../index.html">Spotify AB</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode">SPPlaylistDelegate Protocol Reference</h1>
			</div>
			<ul id="headerButtons" role="toolbar">
				<li id="toc_button">
					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
				</li>
				<li id="jumpto_button" role="navigation">
					<select id="jumpTo">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	
	
	
	
	<option value="tasks">Tasks</option>
	
	
	
	
	
	
	
	
	
	<option value="instance_methods">Instance Methods</option>
	
	<option value="//api/name/itemsInPlaylistDidUpdateMetadata:">&nbsp;&nbsp;&nbsp;&nbsp;- itemsInPlaylistDidUpdateMetadata:</option>
	
	<option value="//api/name/playlist:didAddItems:atIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- playlist:didAddItems:atIndexes:</option>
	
	<option value="//api/name/playlist:didMoveItems:atIndexes:toIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- playlist:didMoveItems:atIndexes:toIndexes:</option>
	
	<option value="//api/name/playlist:didRemoveItems:atIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- playlist:didRemoveItems:atIndexes:</option>
	
	<option value="//api/name/playlist:willAddItems:atIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- playlist:willAddItems:atIndexes:</option>
	
	<option value="//api/name/playlist:willMoveItems:atIndexes:toIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- playlist:willMoveItems:atIndexes:toIndexes:</option>
	
	<option value="//api/name/playlist:willRemoveItems:atIndexes:">&nbsp;&nbsp;&nbsp;&nbsp;- playlist:willRemoveItems:atIndexes:</option>
	
	<option value="//api/name/playlistDidChangeItems:">&nbsp;&nbsp;&nbsp;&nbsp;- playlistDidChangeItems:</option>
	
	<option value="//api/name/playlistWillChangeItems:">&nbsp;&nbsp;&nbsp;&nbsp;- playlistWillChangeItems:</option>
	
	
	
</select>
				</li>
			</ul>
		</header>
		<nav id="tocContainer" class="isShowingTOC">
			<ul id="toc" role="tree">
				
<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>




<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Item Removal">Item Removal</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Item Addition">Item Addition</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Item Reordering">Item Reordering</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Other Changes">Other Changes</a></span></li>
	
</ul></li>









<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/itemsInPlaylistDidUpdateMetadata:">itemsInPlaylistDidUpdateMetadata:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlist:didAddItems:atIndexes:">playlist:didAddItems:atIndexes:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlist:didMoveItems:atIndexes:toIndexes:">playlist:didMoveItems:atIndexes:toIndexes:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlist:didRemoveItems:atIndexes:">playlist:didRemoveItems:atIndexes:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlist:willAddItems:atIndexes:">playlist:willAddItems:atIndexes:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlist:willMoveItems:atIndexes:toIndexes:">playlist:willMoveItems:atIndexes:toIndexes:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlist:willRemoveItems:atIndexes:">playlist:willRemoveItems:atIndexes:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlistDidChangeItems:">playlistDidChangeItems:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/playlistWillChangeItems:">playlistWillChangeItems:</a></span></li>
	
</ul></li>


			</ul>
		</nav>
		<article>
			<div id="contents" class="isShowingTOC" role="main">
				<a title="SPPlaylistDelegate Protocol Reference" name="top"></a>
				<div class="main-navigation navigation-top">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="header">
					<div class="section-header">
						<h1 class="title title-header">SPPlaylistDelegate Protocol Reference</h1>
					</div>		
				</div>
				<div id="container">	
					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<td class="specification-title">Conforms to</td>
	<td class="specification-value">NSObject</td>
</tr><tr>
	<td class="specification-title">Declared in</td>
	<td class="specification-value">SPPlaylist.h</td>
</tr>
						</tbody></table></div>
					
					
					
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>Delegate callbacks from <a href="../Classes/SPPlaylist.html">SPPlaylist</a> to help with item reordering.</p>
					</div>
					
					
					
					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						<h2 class="subtitle subtitle-tasks">Tasks</h2>
						
						
						
						<h3 class="subsubtitle task-title">Other Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/itemsInPlaylistDidUpdateMetadata:">&ndash;&nbsp;itemsInPlaylistDidUpdateMetadata:</a></code>
		<span class="tooltip"><p>Called when one or more items in the playlist updated their metadata.</p></span>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Item Removal" name="task_Item Removal"></a>
						<h3 class="subsubtitle task-title">Item Removal</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/playlist:willRemoveItems:atIndexes:">&ndash;&nbsp;playlist:willRemoveItems:atIndexes:</a></code>
		<span class="tooltip"><p>Called before one or more items in the playlist will be removed from the playlist.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/playlist:didRemoveItems:atIndexes:">&ndash;&nbsp;playlist:didRemoveItems:atIndexes:</a></code>
		<span class="tooltip"><p>Called after one or more items in the playlist were removed from the playlist.</p></span>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Item Addition" name="task_Item Addition"></a>
						<h3 class="subsubtitle task-title">Item Addition</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/playlist:willAddItems:atIndexes:">&ndash;&nbsp;playlist:willAddItems:atIndexes:</a></code>
		<span class="tooltip"><p>Called before one or more items are added to the playlist.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/playlist:didAddItems:atIndexes:">&ndash;&nbsp;playlist:didAddItems:atIndexes:</a></code>
		<span class="tooltip"><p>Called after one or more items are added to the playlist.</p></span>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Item Reordering" name="task_Item Reordering"></a>
						<h3 class="subsubtitle task-title">Item Reordering</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/playlist:willMoveItems:atIndexes:toIndexes:">&ndash;&nbsp;playlist:willMoveItems:atIndexes:toIndexes:</a></code>
		<span class="tooltip"><p>Called before one or more items are moved within the playlist.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/playlist:didMoveItems:atIndexes:toIndexes:">&ndash;&nbsp;playlist:didMoveItems:atIndexes:toIndexes:</a></code>
		<span class="tooltip"><p>Called after one or more items are moved within the playlist.</p></span>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Other Changes" name="task_Other Changes"></a>
						<h3 class="subsubtitle task-title">Other Changes</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/playlistWillChangeItems:">&ndash;&nbsp;playlistWillChangeItems:</a></code>
		<span class="tooltip"><p>Called before a change that isn&rsquo;t a simple add, remove or move operation to the items in the playlist.</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/playlistDidChangeItems:">&ndash;&nbsp;playlistDidChangeItems:</a></code>
		<span class="tooltip"><p>Called after a change that isn&rsquo;t a simple add, remove or move operation to the items in the playlist.</p></span>
	</span>
	
	
</li>
						</ul>
						
					</div>
					
					
					
					
					
					
					
					
					
					<div class="section section-methods">
						<a title="Instance Methods" name="instance_methods"></a>
						<h2 class="subtitle subtitle-methods">Instance Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/itemsInPlaylistDidUpdateMetadata:" title="itemsInPlaylistDidUpdateMetadata:"></a>
	<h3 class="subsubtitle method-title">itemsInPlaylistDidUpdateMetadata:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called when one or more items in the playlist updated their metadata.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)itemsInPlaylistDidUpdateMetadata:(SPPlaylist *)<em>aPlaylist</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items updated their metadata.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlist:didAddItems:atIndexes:" title="playlist:didAddItems:atIndexes:"></a>
	<h3 class="subsubtitle method-title">playlist:didAddItems:atIndexes:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called after one or more items are added to the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlist:(SPPlaylist *)<em>aPlaylist</em> didAddItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>newIndexes</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items were added.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>items</em></dt>
			<dd><p>The items that were added.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>newIndexes</em></dt>
			<dd><p>The destination indexes of the items.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlist:didMoveItems:atIndexes:toIndexes:" title="playlist:didMoveItems:atIndexes:toIndexes:"></a>
	<h3 class="subsubtitle method-title">playlist:didMoveItems:atIndexes:toIndexes:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called after one or more items are moved within the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlist:(SPPlaylist *)<em>aPlaylist</em> didMoveItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>oldIndexes</em> toIndexes:(NSIndexSet *)<em>newIndexes</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items will be moved.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>items</em></dt>
			<dd><p>The items that will be moved.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>oldIndexes</em></dt>
			<dd><p>The (invalid) old indexes of the items.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>newIndexes</em></dt>
			<dd><p>The now current indexes of the items.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlist:didRemoveItems:atIndexes:" title="playlist:didRemoveItems:atIndexes:"></a>
	<h3 class="subsubtitle method-title">playlist:didRemoveItems:atIndexes:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called after one or more items in the playlist were removed from the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlist:(SPPlaylist *)<em>aPlaylist</em> didRemoveItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>theseIndexesArentValidAnymore</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items were removed.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>items</em></dt>
			<dd><p>The items that were be removed.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>theseIndexesArentValidAnymore</em></dt>
			<dd><p>The (now invalid) indexes of the items.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<div class="warning"><p><strong>Warning:</strong> The index set passed to this method is not valid for the given items.</p></div>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlist:willAddItems:atIndexes:" title="playlist:willAddItems:atIndexes:"></a>
	<h3 class="subsubtitle method-title">playlist:willAddItems:atIndexes:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called before one or more items are added to the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlist:(SPPlaylist *)<em>aPlaylist</em> willAddItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>theseIndexesArentYetValid</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist to which items will be added.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>items</em></dt>
			<dd><p>The items that will be added.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>theseIndexesArentYetValid</em></dt>
			<dd><p>The (invalid, for now) destination indexes of the items.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<div class="warning"><p><strong>Warning:</strong> The index set passed to this method is not valid for the given items.</p></div>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlist:willMoveItems:atIndexes:toIndexes:" title="playlist:willMoveItems:atIndexes:toIndexes:"></a>
	<h3 class="subsubtitle method-title">playlist:willMoveItems:atIndexes:toIndexes:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called before one or more items are moved within the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlist:(SPPlaylist *)<em>aPlaylist</em> willMoveItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>oldIndexes</em> toIndexes:(NSIndexSet *)<em>newIndexes</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items will be moved.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>items</em></dt>
			<dd><p>The items that will be moved.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>oldIndexes</em></dt>
			<dd><p>The current indexes of the items.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>newIndexes</em></dt>
			<dd><p>The (invalid, for now) indexes that the items will end up at.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlist:willRemoveItems:atIndexes:" title="playlist:willRemoveItems:atIndexes:"></a>
	<h3 class="subsubtitle method-title">playlist:willRemoveItems:atIndexes:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called before one or more items in the playlist will be removed from the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlist:(SPPlaylist *)<em>aPlaylist</em> willRemoveItems:(NSArray *)<em>items</em> atIndexes:(NSIndexSet *)<em>outgoingIndexes</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items will be removed.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>items</em></dt>
			<dd><p>The items that will be removed.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>outgoingIndexes</em></dt>
			<dd><p>The indexes of the itemss.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlistDidChangeItems:" title="playlistDidChangeItems:"></a>
	<h3 class="subsubtitle method-title">playlistDidChangeItems:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called after a change that isn&rsquo;t a simple add, remove or move operation to the items in the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlistDidChangeItems:(SPPlaylist *)<em>aPlaylist</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items will be changed.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/playlistWillChangeItems:" title="playlistWillChangeItems:"></a>
	<h3 class="subsubtitle method-title">playlistWillChangeItems:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Called before a change that isn&rsquo;t a simple add, remove or move operation to the items in the playlist.</p>
	</div>		
	
	
	<div class="method-subsection method-declaration"><code>- (void)playlistWillChangeItems:(SPPlaylist *)<em>aPlaylist</em></code></div>
	
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>aPlaylist</em></dt>
			<dd><p>The playlist in which items will be changed.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SPPlaylist.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
				</div>
				<div class="main-navigation navigation-bottom">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2012 Spotify AB. All rights reserved. (Last updated: 2012-11-14)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 840)</a>.</span></p>
						
					</div>
				</div>
			</div>
		</article>
		<script type="text/javascript">
			function jumpToChange()
			{
				window.location.hash = this.options[this.selectedIndex].value;
			}
			
			function toggleTOC()
			{
				var contents = document.getElementById('contents');
				var tocContainer = document.getElementById('tocContainer');
				
				if (this.getAttribute('class') == 'open')
				{
					this.setAttribute('class', '');
					contents.setAttribute('class', '');
					tocContainer.setAttribute('class', '');
					
					window.name = "hideTOC";
				}
				else
				{
					this.setAttribute('class', 'open');
					contents.setAttribute('class', 'isShowingTOC');
					tocContainer.setAttribute('class', 'isShowingTOC');
					
					window.name = "";
				}
				return false;
			}
			
			function toggleTOCEntryChildren(e)
			{
				e.stopPropagation();
				var currentClass = this.getAttribute('class');
				if (currentClass == 'children') {
					this.setAttribute('class', 'children open');
				}
				else if (currentClass == 'children open') {
					this.setAttribute('class', 'children');
				}
				return false;
			}
			
			function tocEntryClick(e)
			{
				e.stopPropagation();
				return true;
			}
			
			function init()
			{
				var selectElement = document.getElementById('jumpTo');
				selectElement.addEventListener('change', jumpToChange, false);
				
				var tocButton = document.getElementById('table_of_contents');
				tocButton.addEventListener('click', toggleTOC, false);
				
				var taskTreeItem = document.getElementById('task_treeitem');
				if (taskTreeItem.getElementsByTagName('li').length > 0)
				{
					taskTreeItem.setAttribute('class', 'children');
					taskTreeItem.firstChild.setAttribute('class', 'disclosure');
				}
				
				var tocList = document.getElementById('toc');
				
				var tocEntries = tocList.getElementsByTagName('li');
				for (var i = 0; i < tocEntries.length; i++) {
					tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
				}
				
				var tocLinks = tocList.getElementsByTagName('a');
				for (var i = 0; i < tocLinks.length; i++) {
					tocLinks[i].addEventListener('click', tocEntryClick, false);
				}
				
				if (window.name == "hideTOC") {
					toggleTOC.call(tocButton);
				}
			}
			
			window.onload = init;
			
			// If showing in Xcode, hide the TOC and Header
			if (navigator.userAgent.match(/xcode/i)) {
				document.getElementById("contents").className = "hideInXcode"
				document.getElementById("tocContainer").className = "hideInXcode"
				document.getElementById("top_header").className = "hideInXcode"
			}
			
		</script>
	</body>
</html>